package com.parenting.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 我的金币记录
 * </p>
 *
 * @author zcj
 * @since 2021-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "GoldDTO对象", description = "我的金币记录")
public class GoldRequest implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "获得方式类型 1:分享2:参与拼团3:评论被采纳4:文章评价")
    private Integer getWayType;


    @ApiModelProperty(value = "用户手机号")
    private String createdPhone;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "startTime")
    private String startTime;

    @ApiModelProperty(value = "endTime")
    private String endTime;

    @ApiModelProperty(value = "哪一页", required = true)
    @NotNull(message = "哪一页不能为空")
    private Integer current;

    @ApiModelProperty(value = "每页显示多少条", required = true)
    @NotNull(message = "每页显示多少条不能为空")
    private Integer size;


}
